﻿using System;
using uhul.data;
using System.Text;
using System.Diagnostics;

namespace testApp
{
  class WktPerformanceTest
  {
    public static void testMe()
    {


      Console.Write("Testing {0} ... ", 1);
      Stopwatch sw = Stopwatch.StartNew();

      for (int i = 0; i < 4000; i++)
        sqlGeometryUtils.Wkt2GdoBlobBulk("POLYGON((20 20, 30 30, 40 40, 20 20),(25 25, 26 26, 30 30, 25 25))");

      sw.Stop();
      Console.WriteLine("{0:N0} ms", sw.ElapsedMilliseconds);
      Console.Write("wkt performance test done. Press Enter:");
      Console.ReadLine();
    }

  }
}
